package com.init.engineering.service;

import com.init.engineering.pages.PageResult;
import com.init.engineering.pages.QueryPageBean;
import com.init.engineering.pojo.Branch;

import java.util.List;

public interface BranchService {


    List<Branch> findBranches();


    PageResult findBranchesByPage(QueryPageBean queryPageBean);


    int saveBranch(Branch branch);


    int deleteBranch(String bid);



    Branch findBranchByBid(String bid);


    int updateBranch(Branch branch);


    List<Branch> findBranchesByPid(int pid);
}
